package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.domain.Employee;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface IEmployeeService {
    public Employee login(Employee employee);
    public void save(Employee employee,Long id);
    public Page<Employee> page(Integer page, Integer pageSize, String name);
    public void update(Employee employee,Long id);
    public Employee select(Long id);
}
